package com.beyond.trace.domain.agricultural;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 农技防控建议
 * @Author: yaojianbo
 * @Date: 2023-05-22 11:24
 * @Version: 1.0.0
 */
@Data
@TableName("t_trace_agricultural_suggest")
public class AgriculturalSuggest extends BaseEntity {

    @ApiModelProperty(value = "id")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "周期虫害")
    private String cycle;

    @ApiModelProperty(value = "症状描述")
    private String description;

    @ApiModelProperty(value = "防治建议")
    private String suggestion;

    @ApiModelProperty(value = "状态，0待发布 1，下架")
    private Integer status;

    @ApiModelProperty(value = "部门id")
    @JsonIgnore
    private String departId;

}
